package com.ulife.item.dao.dataobject;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 产品
 * @author Administrator
 *
 */
public class ItemDo {
	
	private Long itemId;
	/**
	 * 供应商ID
	 */
	private Long sId;
	private String itemName;
	private String itemAttributes;
	private Integer itemPrice;
	private Integer itemSum;
	private String itemPics;
	private String itemNotes;
	/**
	 * 0删除   1供应 2不供应
	 */
	private int itemStatus;
	private Date gmtCreate;
	private Date gmtModified;
	
	
	public Long getItemId() {
		return itemId;
	}
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}
	public Long getsId() {
		return sId;
	}
	public void setsId(Long sId) {
		this.sId = sId;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getItemAttributes() {
		return itemAttributes;
	}
	public void setItemAttributes(String itemAttributes) {
		this.itemAttributes = itemAttributes;
	}
	public Integer getItemPrice() {
		return itemPrice;
	}
	public void setItemPrice(Integer itemPrice) {
		this.itemPrice = itemPrice;
	}
	public Integer getItemSum() {
		return itemSum;
	}
	public void setItemSum(Integer itemSum) {
		this.itemSum = itemSum;
	}
	public String getItemPics() {
		return itemPics;
	}
	public void setItemPics(String itemPics) {
		this.itemPics = itemPics;
	}
	public String getItemNotes() {
		return itemNotes;
	}
	public void setItemNotes(String itemNotes) {
		this.itemNotes = itemNotes;
	}
	public int getItemStatus() {
		return itemStatus;
	}
	public void setItemStatus(int itemStatus) {
		this.itemStatus = itemStatus;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public String getGmtCreateFormated() {
		SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		return format.format(this.getGmtCreate());
	}
	
}
